package club.banyuan.inter.Animal;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/25 上午10:19
 */
public class Main {
    public static void main(String[] args) {
        Rabbit rabbit = new Rabbit();
        Frog frog = new Frog();

        rabbit.setColor("白色");
        rabbit.eat();
        rabbit.jump();

        frog.setColor("绿色");
        frog.eat();
        frog.jump();
    }
}
